home *** CD-ROM | disk | FTP | other *** search
/ Designer's Club 1997 December / Designer's Club 1997 December.iso / pc / IDEASRC / Snowfall.Dir / 00041.ls < prev    next >
Encoding:
Text File  |  1997-11-12  |  1.3 KB  |  60 lines

  1. on mouseDown
  2.   if the clickOn = 8 then
  3.     if the locH of sprite 8 < 242 then
  4.       puppetSound(1, "break")
  5.       set the locV of sprite 8 to the locV of sprite 8 + 10
  6.     end if
  7.   end if
  8.   if the clickOn = 7 then
  9.     if the locH of sprite 7 < 73 then
  10.       puppetSound(1, "break")
  11.       set the locV of sprite 7 to the locV of sprite 7 + 10
  12.     end if
  13.   end if
  14. end
  15.  
  16. on mouseUp
  17.   if the clickOn = 9 then
  18.     if (the locH of sprite 9 > 400) and (the locV of sprite 9 < 130) then
  19.       set the loc of sprite 9 to point(476, 138)
  20.       exit
  21.     end if
  22.   end if
  23.   if the clickOn = 7 then
  24.     if (the locH of sprite 7 > 320) and (the locV of sprite 7 < 330) then
  25.       exit
  26.     end if
  27.   end if
  28.   if the clickOn = 8 then
  29.     if the locH of sprite 8 > 400 then
  30.       exit
  31.     end if
  32.   end if
  33.   if the clickOn = 10 then
  34.     if the locH of sprite 10 > 400 then
  35.       exit
  36.     end if
  37.   end if
  38.   if the clickOn = 11 then
  39.     if the locH of sprite 11 > 400 then
  40.       exit
  41.     end if
  42.   end if
  43.   if the clickOn = 12 then
  44.     if the locH of sprite 12 > 400 then
  45.       exit
  46.     end if
  47.   end if
  48.   if the clickOn = 13 then
  49.     if the locH of sprite 13 > 400 then
  50.       exit
  51.     end if
  52.   end if
  53.   if the clickOn = 14 then
  54.     if the locH of sprite 14 > 400 then
  55.       exit
  56.     end if
  57.   end if
  58.   dropit()
  59. end
  60.